package com.augurit.wf.app.document.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "DOC_CONFIG")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class DocConfig {
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_DOC_CONFIG", sequenceName="SEQ_DOC_CONFIG", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_DOC_CONFIG")
	private Integer id;
	
	private String name;
	private String config;
	private String type;
	private String groupName;
	private Integer inx;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getConfig() {
		return config;
	}
	public void setConfig(String config) {
		this.config = config;
	}

	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public Integer getInx() {
		return inx;
	}
	public void setInx(Integer inx) {
		this.inx = inx;
	}
}
